<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <title>劲松商城后台</title>
    <div th:include="Admin/public/Common::head"></div>
</head>
<body>
<div class="main-wrap">
    <div th:include="Admin/public/Common::menu"></div>
    <div class="content-wrap">
        <div th:replace="Admin/public/Common::header"></div>
        <main class="main-cont content mCustomScrollbar">
            <div class="page-wrap">
                <!--开始::内容-->
                <section class="page-hd">
                    <header>
                        <h2 class="title"><i class="fa  fa-shopping-cart ">&nbsp;</i>订单详情</h2>
                        <p class="title-description">
                            展示订单
                        </p>
                    </header>
                    <hr>
                </section>
                <div class="panel panel-default">
                    <div class="panel-bd">
                        <div class="panel panel-primary">
                            <div class="panel-hd">订单详情：</div>
                            <div class="panel-bd">
                                <ul>
                                    <li>&nbsp;&nbsp;订单号：<span th:text="${order.orderId}" style="color:red;"></span></li>
                                </ul>

                                <ul>
                                    <li th:each="item:${orderItems}">《[[${item.ordername}]]》X[[${item.count}]]<span style="color: red" th:text="'：￥'+${item.totalPrice}"></span></li>
                                </ul>

                                <p>&nbsp;&nbsp;小计：<span th:text="${order.price}"></span></p>
                                <h4>&nbsp;&nbsp;总计：<span th:text="${order.price}"></span></h4>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-bd">
                        <div class="panel panel-secondary">
                            <div class="panel-hd">收货信息</div>
                            <div class="panel-bd">
                                <p>姓名：<span th:text="${address.name}"></span></p>
                                <p>电话号码：<span th:text="${address.phone}"></span></p>
                                <p>邮箱：<span th:text="${address.email}"></span></p>
                                <p>公司：<span th:text="${address.company}"></span></p>
                                <p>地址：<span th:text="${address.address}"></span></p>
                                <p>城市：<span th:text="${address.city}"></span></p>
                                <p>国家：<span th:text="${address.country}"></span></p>
                                <p>邮政编码：<span th:text="${address.code}"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
                <!--开始::结束-->
            </div>
        </main>
        <div th:replace="Admin/public/Common::footer"></div>
    </div>
</div>
</body>
</html>
